Separating bichromatic point sets by L-shapes
نویسندگان
چکیده
Given a set R of red points and a set B of blue points in the plane, we study the problem of determining all angles for which there exists an L-shape containing all points from B and no points from R. We propose a worst-case optimal algorithm to solve this problem in O(n) time and O(n) storage, where n = |R| + |B|. We also describe an output-sensitive algorithm that reports these angles in O(n + k log k) time and O(n) storage, where k is the number of reported angular intervals and ε > 0 is any fixed constant.
منابع مشابه
Minimum separating circle for bichromatic points by linear programming
Consider two point sets in the plane, a red set and a blue set. We show how to find the smallest circle that encloses all red points and as few blue points as possible in its interior, using linear programming with violations.
متن کاملFinding monochromatic l-shapes in bichromatic point sets
Given a set R of red points and a set B of blue points in the plane of total size n, we study the problem of determining all angles for which there exists an L-shape containing all points from B without containing any points from R. We propose an algorithm to solve the problem in O(n log n) time and O(n) storage. We also describe an output-sensitive algorithm that reports all angles in O(n + k ...
متن کاملPoint-Set Embeddability of 2-Colored Trees
In this paper we study bichromatic point-set embeddings of 2-colored trees on 2-colored point sets, i.e., point-set embeddings of trees (whose vertices are colored red and blue) on point sets (whose points are colored red and blue) such that each red (blue) vertex is mapped to a red (resp. blue) point. We prove that deciding whether a given 2-colored tree admits a bichromatic point-set embeddin...
متن کاملQuasi - Parallel Segments and Characterization of 1 Unique Bichromatic Matchings
5 Given n red and n blue points in general position in the plane, it is well-known 6 that there is a perfect matching formed by non-crossing line segments. We charac-7 terize the bichromatic point sets which admit exactly one non-crossing matching. 8 We give several geometric descriptions of such sets, and find an O(n log n) algorithm 9 that checks whether a given bichromatic set has this prope...
متن کاملQuasi-Parallel Segments and Characterization of Unique Bichromatic Matchings
Given n red and n blue points in general position in the plane, it is well-known that there is a perfect matching formed by non-crossing line segments. We characterize the bichromatic point sets which admit exactly one non-crossing matching. We give several geometric descriptions of such sets, and find an O(n log n) algorithm that checks whether a given bichromatic set has this property.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Comput. Geom.
دوره 48 شماره
صفحات -
تاریخ انتشار 2015